

<h2 class="accessibility">Select a subscription to edit</h2>

<p class="pageoptions">
    <a class="pageoptions" href="{$actionUrls.new_notification}" title="{$lang.new_notification}">
        <img class="systemicon" src="themes/NCleanGrey/images/icons/system/newobject.gif" alt="{$lang.new_subscription}" />
    </a>
    <a class="pageoptions" href="{$actionUrls.new_notification}" title="{$lang.new_notification}">
        {$lang.new_notification}
    </a>
</p>

{if $nots|@count == 0}
	<p><a href="{$actionUrls.new_notification}">{$lang.new_notification}</a></p>
{else}


<table id="subscriptions-list">
<tbody>
<tr>
	<th>{$lang.title}</th>
    <th class="num">{$lang.groups}</th>
	<th class="num">{$lang.period}</th>
	<th class="actions">{$lang.edit}</th>
</tr>

{capture assign="even"}odd{/capture}

{section loop=$nots name=i}
    
    {if $even=="odd"}
		{capture assign="even"}even{/capture}
	{else}
		{capture assign="even"}odd{/capture}
	{/if}
	
	<tr>
		<td class="{$even} title">
			{$nots[i].subject}
		</td>
		<td class="{$even} num">
            {$nots[i].sub_data.title}
		</td>
		<td class="{$even} num">
			{$nots[i].num_days} days
		</td>
		<td class="{$even} actions">
		  <a href="{$nots[i].editUrl}" title="{$lang.edit_notification}">
            <img src="themes/NCleanGrey/images/icons/system/edit.gif" 
            alt="{$lang.edit_notification}" />
          </a>
		</td>
	</tr>
{/section}
</tbody>
</table>
{/if}




























